var express = require('express');
var router = express.Router();
module.exports = exports = router;
var debug = require('debug')('template');


router.get('/', function(req, res, next) {
	debug('get');
	res.status(200).end(req.url + " ok");
});

router.post('/', function(req, res, next) {
	debug('post');
	res.status(200).end(req.url + " ok");
});

router.put('/:xxxId', function(req, res, next) {
	debug('put ' + req.params.xxxId);
	res.status(200).end(req.url + " ok");
});

router.delete('/:xxxId', function(req, res, next) {
	debug('delete ' + req.params.xxxId);
	res.status(200).end(req.url + " ok");
});